flattenlistmodel: Do proper check
authorBenjamin Otte <otte@redhat.com>
Wed, 15 May 2019 20:18:56 +0000 (22:18 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 15 May 2019 21:39:37 +0000 (23:39 +0200)
commit3e5f5d395979a57a7d44cf186765055cfa627e56
tree8ba036ef3d1c925b03f05858d14d2c78b30c3e1a
parent8cd1a4a09571ee6e34ae6b405f5754f4e0f76b22
flattenlistmodel: Do proper check

If we want the model items to be listmodels, we don't need to do a ==
comparison. We need to do g_type_is_a(). Implementations of listmodels
are obviously fine.
gtk/gtkflattenlistmodel.c